package com.example.administrator.readbook.greendao;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Keep;
import org.greenrobot.greendao.annotation.Unique;
import org.greenrobot.greendao.annotation.Generated;

/**
 * Created by Administrator on 2018/7/6.
 */

@Entity
public class GreenDaoBookBean {
    @Id
    private String id;
    @Unique
    private String bookId;
    private String bookName;
    private String bookReadChapter;
    private String bookImg;
    @Keep
    public GreenDaoBookBean(String id,String bookId, String bookName,
            String bookReadChapter, String bookImg) {
        this.id = id;
        this.bookId = bookId;
        this.bookName = bookName;
        this.bookReadChapter = bookReadChapter;
        this.bookImg = bookImg;
    }
    public GreenDaoBookBean() {
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getBookId() {
        return this.bookId;
    }
    public void setBookId(String bookId) {
        this.bookId = bookId;
    }
    public String getBookName() {
        return this.bookName;
    }
    public void setBookName(String bookName) {
        this.bookName = bookName;
    }
    public String getBookReadChapter() {
        return this.bookReadChapter;
    }
    public void setBookReadChapter(String bookReadChapter) {
        this.bookReadChapter = bookReadChapter;
    }
    public String getBookImg() {
        return this.bookImg;
    }
    public void setBookImg(String bookImg) {
        this.bookImg = bookImg;
    }

    @Override
    public String toString() {
        return "GreenDaoBookBean{" +
                "id=" + id +
                ", bookId='" + bookId + '\'' +
                ", bookName='" + bookName + '\'' +
                ", bookReadChapter='" + bookReadChapter + '\'' +
                ", bookImg='" + bookImg + '\'' +
                '}';
    }
}
